    //
//  UserLogin.m
//  uivc
//
//  Created by 包子 on 12-8-14.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import "UserLogin.h"

@implementation UserLogin

@synthesize userCode;
@synthesize password;
@synthesize commit;


// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    [super viewDidLoad];
	
	comm = [Comm instance];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}

- (void)viewDidUnload {
    [super viewDidUnload];
}

- (void)dealloc {
    [super dealloc];
}

-(void)submit:(id)sender{
	[Comm print:@"login"];
	[[comm user] setIsLogin:TRUE];
	[self.navigationController popToRootViewControllerAnimated:YES];
}
@end